//
//  SEExamineRecordVisionViewModel.swift
//  SmartEyeForPatient
//
//  Created by qdsg on 2021/4/26.
//

import UIKit

class SEExamineRecordVisionViewModel: SEExamineRecordBaseViewModel {
    override var resultDescription: String {
        var str = ""
        if showLeft {
            let osData = examineRecordData(index: 0)
            str += "左眼--裸眼视力: \(osData.lysl), 戴镜视力: \(osData.djsl), 针孔视力: \(osData.zksl.memo);"
        }
        if showRight {
            let odData = examineRecordData(index: 1)
            str += "右眼--裸眼视力: \(odData.lysl), 戴镜视力: \(odData.djsl), 针孔视力: \(odData.zksl.memo);"
        }
        return str
    }
}
